/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * jvprincipal.java
 *
 * Created on 29-oct-2010, 1:38:09
 */

package GUI;

/**
 *
 * @author Cristian
 */
public class jvprincipal extends javax.swing.JFrame {

    /** Creates new form jvprincipal */
    public jvprincipal() {
        initComponents();
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jMenuPrincipal = new javax.swing.JButton();
        jMenuAplicacion = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(256, 498));
        setResizable(false);
        getContentPane().setLayout(null);

        jMenuPrincipal.setIcon(new javax.swing.ImageIcon(getClass().getResource("/GUI/images/iphoneHome.png"))); // NOI18N
        jMenuPrincipal.setBorderPainted(false);
        jMenuPrincipal.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        jMenuPrincipal.setMaximumSize(new java.awt.Dimension(47, 46));
        jMenuPrincipal.setMinimumSize(new java.awt.Dimension(47, 46));
        jMenuPrincipal.setName("jMenuPrincipal"); // NOI18N
        jMenuPrincipal.setPreferredSize(new java.awt.Dimension(47, 46));
        jMenuPrincipal.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuPrincipalActionPerformed(evt);
            }
        });
        getContentPane().add(jMenuPrincipal);
        jMenuPrincipal.setBounds(105, 422, 47, 46);

        jMenuAplicacion.setIcon(new javax.swing.ImageIcon(getClass().getResource("/GUI/images/iMovieIphoneIcon.png"))); // NOI18N
        jMenuAplicacion.setBorderPainted(false);
        jMenuAplicacion.setCursor(new java.awt.Cursor(java.awt.Cursor.HAND_CURSOR));
        jMenuAplicacion.setMaximumSize(new java.awt.Dimension(40, 40));
        jMenuAplicacion.setMinimumSize(new java.awt.Dimension(40, 40));
        jMenuAplicacion.setName("jMenuAplicacion"); // NOI18N
        jMenuAplicacion.setOpaque(false);
        jMenuAplicacion.setPreferredSize(new java.awt.Dimension(40, 40));
        jMenuAplicacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuAplicacionActionPerformed(evt);
            }
        });
        getContentPane().add(jMenuAplicacion);
        jMenuAplicacion.setBounds(90, 280, 40, 40);

        jLabel1.setBackground(new java.awt.Color(51, 51, 51));
        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/GUI/images/fondoIphone.png"))); // NOI18N
        jLabel1.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
        jLabel1.setName("jLabel1"); // NOI18N
        getContentPane().add(jLabel1);
        jLabel1.setBounds(0, 0, 256, 480);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jMenuPrincipalActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuPrincipalActionPerformed
        // TODO add your handling code here:
        jvprincipal user =new jvprincipal();
        user.setVisible(true);
        this.dispose();
    }//GEN-LAST:event_jMenuPrincipalActionPerformed

    private void jMenuAplicacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jMenuAplicacionActionPerformed
        
    }//GEN-LAST:event_jMenuAplicacionActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new jvprincipal().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel jLabel1;
    private javax.swing.JButton jMenuAplicacion;
    private javax.swing.JButton jMenuPrincipal;
    // End of variables declaration//GEN-END:variables

}
